<!DOCTYPE html>
<html>
<head>
    <title>8D跟踪反馈记录</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <Card >
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="follow8dRecord" :rules="ruleValidate" :label-width="100">
<!--            <Row>-->
<!--                <i-col span="11">-->
<!--                    <Form-item label="设备编码" prop="devCode">-->
<!--                        <i-input v-model="follow8dRecord.devCode" placeholder="设备编码" readonly-->
<!--                                 icon="md-arrow-dropdown-circle" @on-click="getDeviceInfo"/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
<!--                <i-col span="11" offset="1">-->
<!--                    <Form-item label="设备名称" prop="devName">-->
<!--                        <i-input v-model="follow8dRecord.devName" placeholder="设备名称" readonly/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
<!--            </Row>-->
            <Row>
<!--                <i-col span="11">-->
<!--                    <Form-item label="实际关闭时间" prop="relCloseDate">-->
<!--                        <Date-picker v-model="follow8dRecord.relCloseDate" placeholder="实际关闭时间"-->
<!--                                     placeholder="选择日期"/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
                <i-col span="11">
                    <Form-item label="故障发生时间" prop="happenDate">
                        <Date-picker v-model="follow8dRecord.happenDate" type="datetime" placeholder="选择日期"></Date-picker>
                    </Form-item>
                </i-col>
                <i-col span="11" offset="1">
                    <Form-item label="计划关闭时间" prop="closeDate">
                        <Date-picker v-model="follow8dRecord.closeDate" type="datetime" placeholder="选择日期"></Date-picker>
                    </Form-item>
                </i-col>
            </Row>
            <Row>

            </Row>
<!--            <Row>-->
<!--                <i-col span="11">-->
<!--                    <Form-item label="工位名称" prop="workName">-->
<!--                        <i-input v-model="follow8dRecord.workName" placeholder="工位名称"/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
<!--                <i-col span="11" offset="1">-->
<!--                    <Form-item label="生产线" prop="proLineName">-->
<!--                        <i-input v-model="follow8dRecord.proLineName" placeholder="生产线" readonly/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
<!--            </Row>-->
<!--            <Row>-->
<!--                <i-col span="11">-->
<!--                    <Form-item label="车间" prop="workshopName">-->
<!--                        <i-input v-model="follow8dRecord.workshopName" placeholder="车间"/>-->
<!--                    </Form-item>-->
<!--                </i-col>-->
<!--            </Row>-->

            <!--        <Row>
                        <i-col span="11">
                            <Form-item label="责任人" prop="personLia">
                                <i-input v-model="follow8dRecord.personLia" placeholder="责任人"/>
                            </Form-item>
                        </i-col>
                    </Row>  <Row>
                        <i-col span="11" offset="1">
                            <Form-item label="工位ID" prop="workId">
                                <i-input v-model="follow8dRecord.workId" placeholder="工位ID"/>
                            </Form-item>
                        </i-col>
                        <i-col span="11" offset="1">
                            <Form-item label="车间ID" prop="workshopId">
                                <i-input v-model="follow8dRecord.workshopId" placeholder="车间ID"/>
                            </Form-item>
                        </i-col>
                        <i-col span="11" offset="1">
                            <Form-item label="生产线ID" prop="proLineId">
                                <i-input v-model="follow8dRecord.proLineId" placeholder="生产线ID"/>
                            </Form-item>
                        </i-col>
                    </Row>-->
            <Row>
                <i-col span="11" >
                    <Form-item label="故障现象" prop="faultAppear">
                        <i-input type="textarea" v-model="follow8dRecord.faultAppear" placeholder="故障现象"></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11" offset="1">
                    <Form-item label="问题描述" prop="faultDescr">
                        <i-input type="textarea" v-model="follow8dRecord.faultDescr" placeholder="问题描述"></i-input>
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="11">
                    <Form-item label="预防措施" prop="precaution">
                        <i-input type="textarea" v-model="follow8dRecord.precaution" placeholder="预防措施"></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11" offset="1">
                    <Form-item label="备注" prop="remark">
                        <i-input type="textarea" v-model="follow8dRecord.remark" placeholder="备注"></i-input>
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="8">
                    <Form-item label="附件" prop="url">
                        <i-hidden v-model="follow8dRecord.file8d" placeholder="请上传" readonly></i-hidden>
                        <i-input v-model="picUrl" placeholder="请上传" readonly></i-input>
                    </Form-item>
                </i-col>
                <i-col span="2">
                    <Form-item :label-width="1">
                        <Upload ref="uploadFile" style="width: 300px;" action="../sys/oss/device/8d"
                                :before-upload="handleBeforeUpload"
                                :on-success="handleSuccess" :on-format-error="handleFormatError"
                                :show-upload-list="false"
                                :on-exceeded-size="handleMaxSize">
                            <i-button icon="ios-cloud-upload-outline">上传</i-button>
                        </Upload>
                    </Form-item>
                </i-col>
                <i-col span="2">
                    <Form-item :label-width="1">
                        <i-button icon="md-arrow-dropdown-circle"  @click="eyeFile(follow8dRecord.file8d)">预览</i-button>
                    </Form-item>
                </i-col>
            </Row>

        </i-form>
    </Card>
</div>

<script src="${rc.contextPath}/js/device/add8Dreport.js?_${date.systemTime}"></script>
</body>
</html>
